package com.account.book.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "技巧页面-主信息", description = "技巧页面-主信息")
public class MainMessageResVo {

    @ApiModelProperty("系统id")
    private String id;

    @ApiModelProperty("tab的id")
    private String tabId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("图片")
    private String image;

    @ApiModelProperty("1-首页轮播，2-底部技术支持 3-关于我们")
    private Integer type;

    @ApiModelProperty("转跳url")
    private String url;

    @ApiModelProperty("启用状态（0-禁用 ，1-启用）")
    private Integer status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
}
